<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title> 缺货物品 - <?=SITE_NAME?> </title>
<?php include VIEWS.'header.html'?>
</head>

<body>
<?php include VIEWS.'topbar.html'?>

<div id="content">

    <?php include VIEWS.'leftnav.html'?>

    <div id="right">

    <?php include VIEWS.'sidesearch.html'?>
    <h1>缺货物品</h1>

<?php include VIEWS.'shopcarinfo.html'?>
<?php if (count($list['list'])==0):?><div class="errbox roundNormal">&nbsp;&nbsp;&nbsp;暂时没有缺货物品，为何不看看我们有哪些 <a tabindex="1" href="/whatnew.php" class="white">新品上架</a></div>
<?php else:?>

<br clear="all" />
<div class="itemlist" id="itemlist">
<?php foreach ($list['list'] as $v):
$i++;
?>
    <div class="px11" style="margin-right:10px;float:right;color:#808080">查看次数: <?php echo $v['views']?></div>
    <table style="margin-left:20px">
    <tr>
        <td width="200" align="center"><a href="/<?php echo $v['id']?>" style="background:transparent"><img id="item<?php echo $v['id']?>" src="/images/items/s/<?php echo $v['model']?>.gif" width="150" height="150" alt="<?php echo $v['name']?>" class="items<?php echo ($v['stocknum'] == 0 ? '' : ' hand')?>" /></a></td>
    <td>
    <font class="price">¥<?php echo preg_replace('/^(\d+)\.(\d+)$/', '$1.<font size="-2">$2</font>', $v['price1'])?></font>
    <?php if($v['price2']>0 && ($v['price2']>$v['price1'])):?>&nbsp;&nbsp;<font class="price_small">特价</font><?php endif?>
    <br />
    <b><a tabindex="2" href="/<?php echo $v['id']?>"><?php echo $v['name']?></a></b><br />
    <?php if($v['title']):?><b>说明：</b><?php echo $v['title']?><br /><?php endif;?>
    <b>材质：</b><?php echo $v['stuff']?><br />
    <b>型号：</b><?php echo $v['model']?><br />
    <br />
    <a tabindex="2" href="/alertme/<?php echo $v['id']?>" onclick="javascript:alertme(<?php echo $v['id']?>);return false"><span class="sprites btn_alertme">到货通知我</span></a>
    </td>
    </tr>
    </table>
    <?php if($i<>count($list['list'])):?><hr size="1" /><?php endif?>
<?php endforeach;?>
</div>

<br clear="all" />

<?php include VIEWS.'pages.html'?>

<?php endif;?>

    </div>
</div>

<?php include VIEWS.'copyright.html'?>

</body>
</html>
